﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Business.Entities
{
    public class MachineType
    {
        public MachineType()
        {
            this.ID = Guid.Empty;
            this.Synonyms = new List<MachineSynonym>();
        }

        public virtual Guid ID
        { get; set; }

        public virtual string Name
        { get; set; }

        public virtual string Description
        { get; set; }

        public virtual string Specifications
        { get; set; }

        public virtual MachineCategory Category
        { get; set; }

        public virtual IList<MachineSynonym> Synonyms
        { get; set; }

        public virtual MachineType Parent
        { get; set; }

        public virtual bool RunningHoursRequred
        { get; set; }

        public virtual bool IsRotatingEquipment
        { get; set; }

        public virtual bool IsStoreRequired
        { get; set; }

        public virtual bool IsBusinessCritical
        { get; set; }

        public virtual bool IsSafetyCritical
        { get; set; }

        public virtual bool IsEnvironmentCritical
        { get; set; }

        public virtual bool IsMandatory
        { get; set; }

        public virtual bool IsDisabled
        { get; set; }

        public virtual bool IsDeleted
        { get; set; }

        public virtual IList<VesselMachine> VesselMachines
        { get; set; }

        public virtual Guid CreatedBy
        { get; set; }

        public virtual DateTime CreatedDate
        { get; set; }

        public virtual Guid UpdatedBy
        { get; set; }

        public virtual DateTime UpdatedDate
        { get; set; }       
    }
}
